////Vue3.x的注册方式
import { createApp } from 'vue'
import App from './App.vue'
import router from './route.js'
import elementplus from 'element-plus';
import 'normalize.css/normalize.css'
import 'element-plus/theme-chalk/index.css';
import Antd from 'ant-design-vue';  //全部加载组件
import 'ant-design-vue/dist/antd.css';
// app.use(Antd); //会加载全部组件
// import { Button, Form, Input, Icon, Checkbox, message,Table,Menu} from "ant-design-vue";  //按需加载
// app.use(Table);  
// app.use(Menu);

const app = createApp(App)
app.use(router).use(elementplus).use(Antd)
app.mount('#app')


